/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ru.ssau.entities;

import java.util.Collection;
import java.util.Date;
import javax.ejb.CreateException;
import javax.ejb.EJBLocalHome;
import javax.ejb.FinderException;
import ru.ssau.lib.StringIntegerPair;


public interface UserLocalHome extends EJBLocalHome {

    UserLocal create(String name, Date regDate, String info) throws CreateException;

    UserLocal findByPrimaryKey(Integer primaryKey) throws FinderException;

    Collection<UserLocal> findByName(String name) throws FinderException;

    Collection<StringIntegerPair> getAllAsStringIntegerPairs();

}
